# 自定义过滤器

# 1,自定义函数实现需求
def do_index_class(index):
    if index ==1:
        return "first"
    elif index ==2:
        return "second"
    elif index ==3:
        return "third"
    else:
        return ""
